package com.example.chinesenation.Entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author sakuraFallingDown
 * @version 1.0
 * @date 2021/1/11 16:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    @TableId(value = "uid")
    private String uid;
    private String uname;
    private String password;
    private String nation;
    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;
    private String tag;
    private String liveCity;
    private String liveProvince;

    private Integer is_deleted;

}
